package cskevin.thermometer.dao.biz;

import cskevin.thermometer.bean.WeatherBean;
import cskevin.thermometer.dao.NetAtmosphereService;
import cskevin.thermometer.dao.impl.NetAtmosphereImpl;
import cskevin.utils.HttpUtils;

public class NetAtmosphereManager {

	NetAtmosphereService service ;

	public NetAtmosphereManager() {
		this.service = new NetAtmosphereImpl();
	}
	/**
	 * 下载天气数据
	 * @param url
	 * @return
	 */
	public String getWeatherDara(String url) {
		// TODO Auto-generated method stub
		return service.getWeatherDara(url);
	}
	/**
	 * 解析天气数据
	 * @param str
	 * @return
	 */
	public WeatherBean parseWeatherBean(String str) {
		// TODO Auto-generated method stub
		return service.parseWeatherBean(str);
	}
}
